package org.jinyan.db.dao;

import java.sql.SQLException;
import java.util.List;

public interface IDBDao {
	public boolean add(String sql, Object[] parms) throws SQLException;

	public boolean update(String sql, Object[] parms) throws SQLException;

	public boolean delete(String sql, Object[] parms) throws SQLException;

	public Object selectByCondition(String sql, Object[] parms)
			throws SQLException;

	public List<Object> selectList(String sql, Object[] parms)
			throws SQLException;

	public boolean add(String sql) throws SQLException;

	public boolean update(String sql) throws SQLException;

	public boolean delete(String sql) throws SQLException;

	public Object select(String sql) throws SQLException;

	public List<Object> selectList(String sql) throws SQLException;
}
